﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/General.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="BugNET.DashBoardPages.Default" %>

<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
<%@ Register TagPrefix="it" TagName="PickMilestone" Src="~/UserControls/PickMilestone.ascx" %>
<%@ Register TagPrefix="it" TagName="PickSingleUser" Src="~/UserControls/PickSingleUser.ascx" %>
<asp:Content  ContentPlaceHolderID="Fields" runat="server">
   
    <table width="100%" border="0">
        <tr>
            <td align="center">
                <div style="width: 90%;" class="issue-form">
                    <table style="width: 100%; background: #F1F2EC none repeat scroll 0 0; border: 1px solid #D7D7D7;
                        padding: 6px">
                        <tr>
                            <td>
                                <div class="grid_1">
                                    Milestone
                                </div>
                                <div class="grid_1">
                                    <it:PickMilestone ID="DropMilestone" DisplayDefault="true" ClientIDMode="Static"
                                        runat="Server" />
                                </div>
                            </td>
                            <td>
                                <div class="grid_1">
                                    User Name
                                </div>
                                <div class="grid_1">
                                    <it:PickSingleUser ID="DropAssignedTo" DisplayUnassigned="False" ClientIDMode=Static DisplayDefault="false"
                                        Required="false" runat="Server" />
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="right">
                                <asp:Button ID="BtnGenerateGraph" ToolTip="Generate Graph" runat="server" Text="Generate" />
                                <asp:Button ID="BtnReset" ToolTip="Reset All Parameters" runat="server" OnClick="BtnReset_Click"
                                    Text="Reset" />
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
        <tr>
            <td align="center">
                <div style="width: 100%">
                    <table width="90%">
                        <tr>
                            <td style="width: 40%">
                                <asp:Chart  ID="ProjectChart" runat="server" Palette="BrightPastel" BackColor="WhiteSmoke"
                                    Height="325px" Width="450px" BorderlineDashStyle="Solid" BackSecondaryColor="White"
                                    BackGradientStyle="TopBottom" BorderWidth="2" BorderColor="26, 59, 105">
                                    <Titles>
                                        <asp:Title ShadowColor="32, 0, 0, 0" Font="Trebuchet MS, 14.25pt, style=Bold" ShadowOffset="3"
                                            Text="Project Issue Status" Name="Title1" ForeColor="26, 59, 105">
                                        </asp:Title>
                                    </Titles>
                                    <Legends>
                                        <asp:Legend BackColor="Transparent" Alignment="Center" Docking="Bottom" Font="Trebuchet MS, 8.25pt, style=Bold"
                                            IsTextAutoFit="False" Name="Default" LegendStyle="Row">
                                        </asp:Legend>
                                    </Legends>
                                    <BorderSkin SkinStyle="Emboss"></BorderSkin>
                                    <Series>
                                        <asp:Series Name="Default" ChartType="Pie" BorderColor="180, 26, 59, 105" Color="220, 65, 140, 240">
                                        </asp:Series>
                                    </Series>
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea" BorderColor="64, 64, 64, 64" BackSecondaryColor="Transparent"
                                            BackColor="Transparent" ShadowColor="Transparent" BorderWidth="0">
                                            <Area3DStyle Rotation="0" />
                                            <AxisY LineColor="64, 64, 64, 64">
                                                <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                                                <MajorGrid LineColor="64, 64, 64, 64" />
                                            </AxisY>
                                            <AxisX LineColor="64, 64, 64, 64">
                                                <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                                                <MajorGrid LineColor="64, 64, 64, 64" />
                                            </AxisX>
                                        </asp:ChartArea>
                                    </ChartAreas>
                                </asp:Chart>
                            </td>
                            <td style="width: 40%">
                                <asp:Chart ID="UserChart" runat="server" Palette="BrightPastel" BackColor="WhiteSmoke"
                                    Height="325px" Width="450px" BorderlineDashStyle="Solid" BackSecondaryColor="White"
                                    BackGradientStyle="TopBottom" BorderWidth="2" BorderColor="26, 59, 105">
                                    <Titles>
                                        <asp:Title ShadowColor="32, 0, 0, 0" Font="Trebuchet MS, 14.25pt, style=Bold" ShadowOffset="3"
                                            Text="User Issues status chart" Name="Title1" ForeColor="26, 59, 105">
                                        </asp:Title>
                                    </Titles>
                                    <Legends>
                                        <asp:Legend BackColor="Transparent" Alignment="Center" Docking="Bottom" Font="Trebuchet MS, 8.25pt, style=Bold"
                                            IsTextAutoFit="False" Name="Default" LegendStyle="Row">
                                        </asp:Legend>
                                    </Legends>
                                    <BorderSkin SkinStyle="Emboss"></BorderSkin>
                                    <Series>
                                        <asp:Series Name="Default" ChartType="Pie" BorderColor="180, 26, 59, 105" Color="220, 65, 140, 240">
                                        </asp:Series>
                                    </Series>
                                    <ChartAreas>
                                        <asp:ChartArea Name="ChartArea" BorderColor="64, 64, 64, 64" BackSecondaryColor="Transparent"
                                            BackColor="Transparent" ShadowColor="Transparent" BorderWidth="0">
                                            <Area3DStyle Rotation="0" />
                                            <AxisY LineColor="64, 64, 64, 64">
                                                <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                                                <MajorGrid LineColor="64, 64, 64, 64" />
                                            </AxisY>
                                            <AxisX LineColor="64, 64, 64, 64">
                                                <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                                                <MajorGrid LineColor="64, 64, 64, 64" />
                                            </AxisX>
                                        </asp:ChartArea>
                                    </ChartAreas>
                                </asp:Chart>
                            </td>
                            <td style="width: 20%" valign="top" align="right">
                                <table class="controls" cellpadding="4" style="width: 100%; background: #F1F2EC none repeat scroll 0 0;
                                    border: 1px solid #D7D7D7; margin-bottom: 20px; padding: 6px;">
                                    <tr>
                                        <td class="label">
                                            Chart Type:
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ChartTypeList" runat="server" AutoPostBack="True" CssClass="spaceright"
                                                Width="100px">
                                                <asp:ListItem Value="Doughnut">Doughnut</asp:ListItem>
                                                <asp:ListItem Value="Pie">Pie</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="label">
                                            Label Style:
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="LabelStyleList" runat="server" AutoPostBack="True" CssClass="spaceright"
                                                Width="100px">
                                                <asp:ListItem Value="Inside" Selected="True">Inside</asp:ListItem>
                                                <asp:ListItem Value="Outside">Outside</asp:ListItem>
                                                <asp:ListItem Value="Disabled">Disabled</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="label">
                                            Show Exploded:
                                        </td>
                                        <td>
                                            <asp:CheckBox ID="ShowExploded" runat="server" AutoPostBack="True" Checked="false"
                                                Text=""></asp:CheckBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="label">
                                            Doughnut Radius (%):
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="HoleSizeList" runat="server" AutoPostBack="True" Enabled="False"
                                                CssClass="spaceright" Width="100px">
                                                <asp:ListItem Value="20">20</asp:ListItem>
                                                <asp:ListItem Value="30">30</asp:ListItem>
                                                <asp:ListItem Value="40">40</asp:ListItem>
                                                <asp:ListItem Value="50">50</asp:ListItem>
                                                <asp:ListItem Value="60" Selected="True">60</asp:ListItem>
                                                <asp:ListItem Value="70">70</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="label">
                                            Show Legend:
                                        </td>
                                        <td>
                                            <asp:CheckBox ID="ShowLegend" runat="server" AutoPostBack="True" Checked="True" Text="">
                                            </asp:CheckBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="label">
                                            Drawing Style:
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="Dropdownlist1" runat="server" Width="112px" CssClass="spaceright"
                                                AutoPostBack="True">
                                                <asp:ListItem Value="Default">Default</asp:ListItem>
                                                <asp:ListItem Value="SoftEdge" Selected="True">SoftEdge</asp:ListItem>
                                                <asp:ListItem Value="Concave">Concave</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="label">
                                            Show as 3D:
                                        </td>
                                        <td>
                                            <asp:CheckBox ID="CheckboxShow3D" runat="server" AutoPostBack="True" Text=""></asp:CheckBox>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
